Override reject business task errors when using Gate APIs

In addition to using the gate UI in N4, you can also use the gate APIs to execute the gate workflow in N4. When using the gate APIs, to override the reject business task errors, you can use the override-errors attribute at the root element of the following Gate APIs:

Similar to the gate UI, you must have the corresponding Override Reject Business Task Privileges (on page 1) to override errors when using the gate APIs to execute the gate workflow.

The following code sample displays the definition of the override-errors attribute in the GateWebserviceRequest.xsd and the gate-types.xsd files:

<xs:attribute name="override-errors" type="xs:boolean" use="optional" default="false">

    <xs:annotation>

        <xs:documentation>Allow gate API to override reject task errors. Default = false</xs:documentation>

    </xs:annotation>

</xs:attribute>

The default value of this attribute is false, which means that if GOS wants to override a reject business task error message, it must modify the request to set the override-errors attribute to true.

Also, when N4 creates a trouble transaction, it includes the warning messages in addition to the severe error messages in the Gate API response.